package com.hu.chat.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述：
 *
 * @Author huyouzhong
 * @Date 2024/1/2 10:57
 */
@Data
public class UserListVo {
    private Integer id;
    private String name;
    private String img;

    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time = new Date();
    private String preview = "I was wondering...";
}
